package com.weipai.springboot.model;

import com.weipai.springboot.module.util.DateUtils;

import java.util.UUID;

/**
 * 货品类别属性选项表
 */
public class PropertyOption {
    private String optionId= UUID.randomUUID().toString();

    private String propertyId;

    private String optionValue;

    private Integer optionSort;

    private String createTime= DateUtils.timeFormat(System.currentTimeMillis());

    private String updateTime;

    public Integer getOptionSort() {
        return optionSort;
    }

    public void setOptionSort(Integer optionSort) {
        this.optionSort = optionSort;
    }

    public String getOptionId() {
        return optionId;
    }

    public void setOptionId(String optionId) {
        this.optionId = optionId == null ? null : optionId.trim();
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId == null ? null : propertyId.trim();
    }

    public String getOptionValue() {
        return optionValue;
    }

    public void setOptionValue(String optionValue) {
        this.optionValue = optionValue == null ? null : optionValue.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
}